package com.hd.service.impl;

import java.io.Serializable;
import java.util.UUID;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hd.dao.BaseDao;
import com.hd.entity.NoticeReaded;
import com.hd.service.NoticeReadedService;
/**
 * 通知阅读记录
 * @author hzhh123
 *
 */
@Service("noticeReadedService")
public class NoticeReadedServiceImpl implements NoticeReadedService {
	@Autowired
	private BaseDao<NoticeReaded,String> noticeReadedDao;
	@Override
	public Serializable save(NoticeReaded noticeReaded) {
		noticeReaded.setId(UUID.randomUUID().toString());
		return noticeReadedDao.save(noticeReaded);
	}

}
